﻿using System;
using System.Collections.Generic;
using System.Text;
using Validate.Library;

namespace Authority.Model
{
    /// <summary>
    /// 菜单操作请求类
    /// </summary>
    public class MenusRootRequest
    {

        /// <summary>
        /// 菜单名称
        /// </summary>
        [Validate(ValidateType.NotEmpty | ValidateType.MaxLength, MaxLength = 25, Description = "菜单名称")]
        public string sName
        {
            get; set;
        }

        /// <summary>
        /// 菜单标签
        /// </summary>
        [Validate(ValidateType.NotEmpty | ValidateType.MaxLength, MaxLength = 50, Description = "菜单标签")]
        public string sIconFont
        {
            get; set;
        }

        /// <summary>
        /// 菜单链接
        /// </summary>
        public string sUrl
        {
            get; set;
        }


        /// <summary>
        /// 是否启用
        /// </summary>
        public bool bIsEnabled
        {
            get; set;
        }
    }
}
